<?xml version="1.0"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html><head><title>com.lbi.typography.DefaultCss</title><script src="../../../quicknav.js" type="text/javascript"></script><script><!--
document.quicknavBasePath="../../../index-files";
//--></script><link href="../../../style.css" title="JavaDoc" rel="stylesheet" type="text/css"/><link href="../../../unnatural.css" title="Unnatural" rel="alternate stylesheet" type="text/css"/><link href="../../../overview-summary.html" title="Overview" rel="top"/><link href="package-summary.html" title="Package com.lbi.typography" rel="up"/><link href="../../../com/lbi/typography/StyleConverter.html" title="Class com.lbi.typography.StyleConverter" rel="prev"/><link href="../../../com/lbi/reflection/PropertyUtils.html" title="Class com.lbi.reflection.PropertyUtils" rel="next"/><meta name="generator" content="http://www.badgers-in-foil.co.uk/projects/as2api/"/></head><body><h1>Class com.lbi.typography.DefaultCss</h1><div class="type_hierachy"><ul><li><strong>com.lbi.typography.DefaultCss</strong></li></ul></div><div class="type_description"><h2>Description</h2><p>
 	LBi Useful ActionScript 2 Library
    Copyright (C) 2007 LBi / Michael Forrest

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
    License as published by the Free Software Foundation; either
    version 2.1 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this library; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
</p></div><div class="type_indexes"><div class="field_index"><h2>Field Index</h2><a href="#color" title="public color:String">color</a>, <a href="#display" title="public display:String">display</a>, <a href="#fontFamily" title="public fontFamily:String">fontFamily</a>, <a href="#fontSize" title="public fontSize:String">fontSize</a>, <a href="#fontStyle" title="public fontStyle:String">fontStyle</a>, <a href="#fontWeight" title="public fontWeight:String">fontWeight</a>, <a href="#marginLeft" title="public marginLeft:String">marginLeft</a>, <a href="#marginRight" title="public marginRight:String">marginRight</a>, <a href="#textAlign" title="public textAlign:String">textAlign</a>, <a href="#textDecoration" title="public textDecoration:String">textDecoration</a>, <a href="#textIndent" title="public textIndent:String">textIndent</a></div><div class="method_index"><h2>Method Index</h2><a href="#convertColourToCss" title="static public function convertColourToCss(colour:Number):String">convertColourToCss()</a></div></div><div class="type_details"><div class="field_detail_list"><h2>Field Detail</h2><a name="textAlign"></a><h3>textAlign</h3><div class="field_details"><code class="field_synopsis">public <strong class="field_name">textAlign</strong>:<span class="unresolved_type_name">String</span></code><div class="field_info">
 Recognized values are left, center, and right.
	 </div></div><a name="fontSize"></a><h3>fontSize</h3><div class="field_details"><code class="field_synopsis">public <strong class="field_name">fontSize</strong>:<span class="unresolved_type_name">String</span></code><div class="field_info">
 Only the numeric part of the value is used; units (px, pt) are not parsed; pixels and points are equivalent.
 YOU MUST SPECIFY px or pt NEVERTHELESS!
	</div></div><a name="textDecoration"></a><h3>textDecoration</h3><div class="field_details"><code class="field_synopsis">public <strong class="field_name">textDecoration</strong>:<span class="unresolved_type_name">String</span></code><div class="field_info">
 Recognized values are none and underline.
	 </div></div><a name="marginLeft"></a><h3>marginLeft</h3><div class="field_details"><code class="field_synopsis">public <strong class="field_name">marginLeft</strong>:<span class="unresolved_type_name">String</span></code><div class="field_info">
 Only the numeric part of the value is used. Units (px, pt) are not parsed; pixels and points are equivalent.
 YOU MUST SPECIFY px or pt NEVERTHELESS!
	 </div></div><a name="marginRight"></a><h3>marginRight</h3><div class="field_details"><code class="field_synopsis">public <strong class="field_name">marginRight</strong>:<span class="unresolved_type_name">String</span></code><div class="field_info">
 Only the numeric part of the value is used. Units (px, pt) are not parsed; pixels and points are equivalent.
 YOU MUST SPECIFY px or pt NEVERTHELESS!
	 </div></div><a name="fontWeight"></a><h3>fontWeight</h3><div class="field_details"><code class="field_synopsis">public <strong class="field_name">fontWeight</strong>:<span class="unresolved_type_name">String</span></code><div class="field_info">
 normal|bold
	 </div></div><a name="fontStyle"></a><h3>fontStyle</h3><div class="field_details"><code class="field_synopsis">public <strong class="field_name">fontStyle</strong>:<span class="unresolved_type_name">String</span></code><div class="field_info">
 Recognized values are normal and italic.
	 </div></div><a name="textIndent"></a><h3>textIndent</h3><div class="field_details"><code class="field_synopsis">public <strong class="field_name">textIndent</strong>:<span class="unresolved_type_name">String</span></code><div class="field_info">
 Only the numeric part of the value is used. Units (px, pt) are not parsed; pixels and points are equivalent.
 YOU MUST SPECIFY px or pt NEVERTHELESS!
	 </div></div><a name="fontFamily"></a><h3>fontFamily</h3><div class="field_details"><code class="field_synopsis">public <strong class="field_name">fontFamily</strong>:<span class="unresolved_type_name">String</span></code><div class="field_info">
 A comma-separated list of fonts to use, in descending order of desirability. Any font family name can be used. If you specify a generic font name, it will be converted to an appropriate device font. The following font conversions are available: mono is converted to _typewriter, sans-serif is converted to _sans, and serif is converted to _serif.
	 </div></div><a name="color"></a><h3>color</h3><div class="field_details"><code class="field_synopsis">public <strong class="field_name">color</strong>:<span class="unresolved_type_name">String</span></code><div class="field_info">
 Only hexadecimal color values are supported. Named colors (like blue) are not supported.
 You must specify values in #FFFFFF format
	 </div></div><a name="display"></a><h3>display</h3><div class="field_details"><code class="field_synopsis">public <strong class="field_name">display</strong>:<span class="unresolved_type_name">String</span></code><div class="field_info">
 Supported values are inline, block, and none.
	 </div></div></div><div class="method_detail_list"><h2>Method Detail</h2><div class="method_details alt_row"><a name="convertColourToCss"></a><h3>convertColourToCss</h3><code class="method_synopsis">static public function <strong class="method_name">convertColourToCss</strong>(colour:<span class="unresolved_type_name">Number</span>):<span class="unresolved_type_name">String</span></code><div class="method_info"><p>
 convert 0xFFFFFF to #FFFFFF
	 </p></div></div></div></div><ul class="main_nav" id="main_nav"><li><a href="../../../overview-summary.html" title="Overview of API" class="button">Overview</a></li><li><a href="package-summary.html" title="Overview of package com.lbi.typography" class="button">Package</a></li><li><span class="button nav_current">Class</span></li><li><a href="../../../index-files/index.html" title="Alpabetical index of types and members" class="button">Index</a></li></ul><div class="footer"><a href="http://www.badgers-in-foil.co.uk/projects/as2api/" title="ActionScript 2 API Documentation Generator">as2api</a></div></body></html>